package com.hgw.Demo04_BuilderPattern.Exercises6_7_4;

/**
 * Data time:2021/12/13 10:09
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class DesktopBuilder extends Builder{

    @Override
    public void buildCpu() {
        computer.setCpu("主机cpu");
    }

    @Override
    public void buildMemory() {
        computer.setMemory("主机内存");
    }

    @Override
    public void buildHardDisk() {
        computer.setHardDisk("主机硬盘");
    }

    @Override
    public void buildHost() {
        computer.setHost("主机主机箱");
    }

    @Override
    public void buildMonitor() {
        computer.setMonitor("主机显示器");
    }
}
